﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TongTongMall.Domain.Entities;
using TongTongMall.Domain.Repositories.Attributes;

namespace TongTongMall.MallWeb.Core.Tenant
{
    [System.ComponentModel.DataAnnotations.Schema.Table("CommercialTenant")]
    public class CommercialTenant : AggregateRoot<Guid>
    {
        /// <summary>
        /// 商户Id
        /// </summary>
        [Identify]
        public Guid ID { get; set; }

        public string TenancyName { get; set; }

        public int EnableStatus { get; set; }

        public string Domain { get; set; }

        public DateTime? EffectiveDateS { get; set; }

        public DateTime? EffectiveDateE { get; set; }

        public DateTime AddDate { get; set; }

        public int ManagerID { get; set; }

        public int? DelStatus { get; set; }

        public string TenantCode { get; set; }

    }
}
